import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import zhCN from 'antd/locale/zh_CN';
import {ConfigProvider} from 'antd'
// 重置css
import 'normalize.css'
// 全局样式
import './assets/style/index.scss'
// 导入仓库
import {store} from './store/index'
// 导入react-redux Provider
import {Provider} from 'react-redux'

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  // <React.StrictMode>
  <Provider store={store}>
    <ConfigProvider locale={zhCN}>
    <App />
    </ConfigProvider>
  </Provider>
  // </React.StrictMode>,
)
